home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)Z / (A)Z8.ADF / Esuom / esuom.doc < prev    next >
Text File  |  1987-07-14  |  1KB  |  22 lines

  1. Esuom - Sean Riddle - OKC ACE BBS - (405) 631-9040
  2.  
  3. This is my first screen hack.  Some ACE users were talking about this over
  4. pizza after a meeting, and we weren't sure how difficult it would be.  Turns
  5. out it was pretty easy.  The program is basically copied from the RKM Vol I.
  6. A few things had to be changed to get it to work.  Notably, having the
  7. input.device call my C routine required a stack of at least 75000 to keep
  8. from crashing.  I think it is because of the slow speed and large stack
  9. space C requires.  Anyway, I rewrote the input handler in ASM (my first real
  10. attempt at programming 68000 assembly).  It turned out fine.  Esuom.c is the
  11. part that opens the window and submits the handler.  HandlerInterface.asm is
  12. the actual handler.  It is inserted just before Intuition gets a hold of the
  13. mouse input.  We look for RAWMOUSE events, and modify them.  When the user
  14. clicks on the close gadget, the sleeping program goes away.  I also set a
  15. new pointer, just for fun.  Of course it's PD.  Just leave my name on it.
  16.  
  17. Lattice C v3.10:
  18. LC -adb Esuom  (program contains sprite data, must go into CHIP memory)
  19. ASM HandlerInterface.asm
  20. BLINK with Esoum.with
  21.  
  22.